#ifndef _FWENGINE_H
#define _FWENGINE_H

#include "FwRule.h"

/*
 * checks pkt against the rules, and returns the matching rule.
 * returns:
 *  	0 - if none matched
 *	struct fwRule* of first matched rule
 */
fwRuleNode* matchPkt(const unsigned char* pkt, const int pktlen, const fwRuleList* rules);

#endif
